#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QListWidgetItem>
#include <QMainWindow>
#include <QTimer>
#include <vpentrance.h>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private:

private:
    Ui::MainWindow *ui;
    QVector<QString> m_vecString;
    VpEntrance* m_vp_entrance;
    int m_audiovolume_record;
    int m_pausecount;
    int m_audiobutton_count;
    int m_totalSeconds;


private slots:
    void addfile                         ();
    void addfloder                       ();
    void deletefile                      ();
    void fullscreen                      ();
    void itemsdoubleclick                (QListWidgetItem*);
    void pausebutton                     ();
    void audiobutton                     ();
    void alterCurSeconds                 (int curseconds);
    void addThreeSecondsButton           ();
    void minusThreeSecondsButton         ();
    void lastVideoButton                 ();
    void nextVideoButton                 ();
    void stopButton                      ();
    void setSeconds                      (int seconds);
    void setAllSeconds                   (int all_seconds);
    void on_CmbSpeed_currentIndexChanged (int index);

    void on_BtnListbutton_clicked();

signals:
    void sendTargetTime (int tp);
};
#endif // MAINWINDOW_H
